<?php

declare(strict_types=1);

namespace App\CustHub\Mapper;

use App\CustHub\Model\ChLockCustomerCode;
use Mine\Abstracts\AbstractMapper;

class ChLockCustomerCodeMapper extends AbstractMapper
{
    public function assignModel()
    {
        $this->model = ChLockCustomerCode::class;
    }

    public function findById(mixed $id)
    {
        return $this->model::query()->find($id)->first();
    }
}